 window.fbAsyncInit = function() {
	    FB.init({
	      appId      : '176224242494571', // App ID
	  //    channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
	      status     : true, // check login status
	      cookie     : true, // enable cookies to allow the server to access the session
	      xfbml      : true  // parse XFBML
	    });

	    /* FB.getLoginStatus(function(response) {
	    	if (response.status === 'connected') {
	    		var uid = response.authResponse.userID;
			    var accessToken = response.authResponse.accessToken;
			    //window.location = "main?uid=" + uid + "&token=" + accessToken;
			} else if (response.status === 'not_authorized') {
				window.location = "/vendingMachine/userProcess/register";
			  } else {
				window.location = "/vendingMachine/infomation/login";
		      }
	    });
	    	FB.login(function(response) {
	    	  if (response.authResponse) {
	    	    console.log('Welcome!  Fetching your information.... ');
	    	    FB.api('/me', function(response) {
	    	      console.log('Good to see you, ' + response.name + '.');
	    	    });
	    	  } else {
	    	    console.log('User cancelled login or did not fully authorize.');
	    	  }
	    	}, {scope: 'publish_stream , offline_access'});*/
    	
	  };